package com.xxx.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.*;

import java.io.Serializable;

/**
 * <p>
 * 管理员表
 * </p>
 *
 * @author xxx
 * @since 2024-11-26
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@EqualsAndHashCode(callSuper = false)
public class Admin implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "adminId", type = IdType.AUTO)
    private Integer adminId;

    private String adminWorkId;

    private String adminName;

    private String adminPassword;

    private String adminAvatar;

//    @TableLogic
    private Integer isDeleted;


}
